import { createStore } from 'vuex'

export default createStore({
  state: {
  },
  mutations: {
  },
  actions: {
    getUserData(){
      this.$ajax.post('getUserData',{},(res)=>{
        sessionStorage.setItem('user_data',JSON.stringify(res.data))
      })
    }
  },
  modules: {
  }
})
